package cn.net.cfss.fgbp.api.console.dto;



import cn.net.cfss.fgbp.api.console.constant.ELogTypeEnum;
import javax.persistence.Table;
import java.util.Date;

@Table(name="T_SYS_BUSI_LOG")
public class SysBusiLogDto extends  BaseDto{
    /**
     * 账号
     *
     * @mbggenerated Mon Nov 20 11:23:28 CST 2017
     */
    private String account;

    /**
     * 名称
     *
     * @mbggenerated Mon Nov 20 11:23:28 CST 2017
     */
    private String name;

    /**
     * 1：修改系统参数/2：重置密码
     *
     * @mbggenerated Mon Nov 20 11:23:28 CST 2017
     */
    private ELogTypeEnum operType;

    /**
     * 创建时间
     *
     * @mbggenerated Mon Nov 20 11:23:28 CST 2017
     */
    private Date createTime;

    /**
     * 描述
     *
     * @mbggenerated Mon Nov 20 11:23:28 CST 2017
     */
    private String des;

    public void setDes(String des) {
        this.des = des;
    }

    /**
     * IP

     *
     * @mbggenerated Mon Nov 20 11:23:28 CST 2017
     */
    private String ip;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }


    public ELogTypeEnum getOperType() {
        return operType;
    }

    public void setOperType(ELogTypeEnum operType) {
        this.operType = operType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDes() {
        return des;
    }


    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }
}